package com.example.freeparkingdemo;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @GetMapping("/")
    public String index(){
        return "hello world! test~~~";
    }

    @GetMapping("/test")
    public String test(){
        return "hello world! test~~~hshs山东省地方所发生的防守打法";
    }

    @GetMapping("/test2")
    public String test2(String uname){
        return "hello world! test~~~"+uname;
    }
}
